﻿#pragma once
#include "afxwin.h"
#include "afxcmn.h"


// CPage1 对话框

class CPage1 : public CDialogEx
{
	DECLARE_DYNAMIC(CPage1)

public:
	CPage1(CWnd* pParent = NULL);   // 标准构造函数
	virtual ~CPage1();

	// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_PAGE1 };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()

public:

	afx_msg void OnBnClickedBtnHengxiang();
	afx_msg void OnBnClickedBtnHandleBind();
	CEdit m_edit_simulator_path;
	virtual BOOL OnInitDialog();
	void InitOriTaskListInfo();
	void PageToIni();
	void IniToPage();

	CComboBox m_combo_moreopen_set;
	CComboBox m_combo_opt_cpu_set;
	GameTask m_GameTask_Page1;
	CListCtrl m_list_oritask_info;
	CListCtrl m_list_needdealtask_info;
	int m_iSelect_OriListCtrl_Index;
	int m_iSelect_NeedListCtrl_Index;
	afx_msg void OnBnClickedBtnSuspend();
	afx_msg void OnBnClickedBtnSave();
	afx_msg void OnBnClickedBtnAddtoneeddeal();
	afx_msg void OnBnClickedBtnDelfromneeddeal();
	afx_msg void OnBnClickedBtnInsertneeddeal();
	afx_msg void OnBnClickedBtnInsertNeeddealDown();
	afx_msg void OnBnClickedBtnMoveUp();
	afx_msg void OnBnClickedBtnMoveDown();
	afx_msg void OnBnClickedBtnClearneeddeal();
	afx_msg void OnBnClickedBtnOnekeytoneeddealOfmaintask();
	afx_msg void OnBnClickedBtnOnekeytofb();
	afx_msg void OnBnClickedBtnAddFriend();
	afx_msg void OnNMClickListOriginaltaskInfo(NMHDR *pNMHDR, LRESULT *pResult);
	afx_msg void OnNMDblclkListOriginaltaskInfo(NMHDR *pNMHDR, LRESULT *pResult);
	afx_msg void OnNMClickListNeeddealtaskInfo(NMHDR *pNMHDR, LRESULT *pResult);
	afx_msg void OnNMDblclkListNeeddealtaskInfo(NMHDR *pNMHDR, LRESULT *pResult);
	afx_msg void OnMemuImportaccount();
	afx_msg void OnBnClickedBrowser();
	afx_msg void OnBnClickedBtnCloseAll();
};
extern CPage1 * g_pPage1;